/**
 * output package name
 */
package com.kingdee.eas.mc.order;

import java.util.Map;
import java.util.List;
import java.util.Iterator;
import com.kingdee.util.enums.StringEnum;

/**
 * output class name
 */
public class ServerWay extends StringEnum
{
    public static final String OUT_VALUE = "10";
    public static final String SEND_VALUE = "20";
    public static final String OTHER_VALUE = "30";

    public static final ServerWay out = new ServerWay("out", OUT_VALUE);
    public static final ServerWay send = new ServerWay("send", SEND_VALUE);
    public static final ServerWay other = new ServerWay("other", OTHER_VALUE);

    /**
     * construct function
     * @param String serverWay
     */
    private ServerWay(String name, String serverWay)
    {
        super(name, serverWay);
    }
    
    /**
     * getEnum function
     * @param String arguments
     */
    public static ServerWay getEnum(String serverWay)
    {
        return (ServerWay)getEnum(ServerWay.class, serverWay);
    }

    /**
     * getEnumMap function
     */
    public static Map getEnumMap()
    {
        return getEnumMap(ServerWay.class);
    }

    /**
     * getEnumList function
     */
    public static List getEnumList()
    {
         return getEnumList(ServerWay.class);
    }
    
    /**
     * getIterator function
     */
    public static Iterator iterator()
    {
         return iterator(ServerWay.class);
    }
}